import request from '@/utils/request'

export function createRecord(data){
    return request({
        url:'/award/addAwardDeclare',
        method:'post',
        data:data
    })
}

export function updateRecord(data){
    return request({
        url:'/award/updateAwardDeclare',
        method:'post',
        data:data
    })
}

export function deleteRecord(data){
    return request({
        url:'/award/deleteAwardDeclare',
        method:'post',
        data:data
    })
}

export function findMyRecordList(data){
    return request({
        url:'/award/selectMyAward',
        method:'post',
        data:data
    })
}

export function findRecordList(data){
    return request({
        url:'/award/selectRecordList',
        method:'post',
        data:data
    })
}

export function findRecordDeclareList(data){
    return request({
        url:'/award/selectAwardByStatus',
        method:'post',
        data:data
    })
}

export function findRecordOne(data){
    return request({
        url:'/award/selectOneAwardDeclare',
        method:'post',
        data:data
    })
}

export function findRecordById(data){
    return request({
        url:'/award/selectRecord',
        method:'post',
        data:data
    })
}

export function recordTopIndex(data){
    return request({
        url:'/activity/isTopRecord',
        method:'post',
        data:data
    })
}

export function selectMyApplyRecord(data){
    return request({
        url:'/award/selectMyAwardOne',
        method:'post',
        data:data
    })
}




